<?php
$config = array(

//根文件夹，放置在二级目录时请设置此项
'basePath' => '/',

//调试选项，当运行环境是非生产环境时建议开启此选项
'debug' => true,

//记录访问日志选项，当有用户访问时进行记录
'logVisit' => false,

//记录事件日志选项，当框架运行过程中发生错误时，如果开启此选项将记录错误信息
'logEvent' => true,

'safetyChain' => true,

//设置主页控制器和视图名称
'homePage' => 'Home',

//默认的错误页面模板
'errorTemplate' => 'default',

//站点标签页标题后缀，可以为空
'barSuffix' => 'VCMINI框架',

//站点关键字（用空格分开不同关键字）
'keyWords' => '网站关键字 用空格分割网站关键字',

//站点描述（用空格分开不同描述）
'descriptions' => '网站简介 用空格分割网站简介',

'database' => array(
	'default' => array(
		'dbType' => 'mysql',
		'dbHost' => 'localhost',
		'dbPort' => 3306,
		'dbName' => 'vcmini',
		'dbUser' => 'vcmini',
		'dbPwd' => '123456'
	)
),

//文件配置信息
'fileInfo' => array(
	//在通过Files访问时后面所带的类型参数设置
	'JavaScript' => array(
		//该类型文件的后缀名
		'suffix' => 'js',
		//该类型文件相对于pubs文件夹的存放路径
		'path' => 'scripts/javaScripts/',
		//该类型文件的mime类型
		'mime' => 'text/javascript'
	),
	'StyleScript' => array(
		'suffix' => 'css',
		'path' => 'scripts/styleScripts/',
		'mime' => 'text/css'
	),
	'Html' => array(
		'suffix' => 'html',
		'path' => 'pages/html',
		'mime' => 'text/html'
	),
	'Json' => array(
		'suffix' => 'json',
		'path' => 'jsons/',
		'mime' => 'application/json'
	),
	'Jpg' => array(
		'suffix' => 'jpg',
		'path' => 'images/jpg/',
		'mime' => 'image/jpeg'
	),
	'Png' => array(
		'suffix' => 'png',
		'path' => 'images/png/',
		'mime' => 'image/png'
	),
	'Gif' => array(
		'suffix' => 'gif',
		'path' => 'images/gif/',
		'mime' => 'image/gif'
	),
	'Bmp' => array(
		'suffix' => 'bmp',
		'path' => 'images/bmp/',
		'mime' => 'application/x-MS-bmp'
	),
	'Ico' => array(
		'suffix' => 'ico',
		'path' => 'images/icon/',
		'mime' => 'image/x-icon'
	),
	'Svg' => array(
		'suffix' => 'svg',
		'path' => 'images/svg/',
		'mime' => 'image/svg+xml'
	),
	'ttf' => array(
		'suffix' => 'ttf',
		'path' => 'fonts/ttf/',
		'mime' => 'application/octet-stream'
	),
	'woff' => array(
		'suffix' => 'woff',
		'path' => 'fonts/woff/',
		'mime' => 'application/x-font-woff'
	),
	'woff2' => array(
		'suffix' => 'woff2',
		'path' => 'fonts/woff2/',
		'mime' => 'application/x-font-woff'
	),
	'xlsx' => array(
		'suffix' => 'xlsx',
		'path' => 'docs/excel/xlsx/',
		'mime' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
	)
),

//CDN可取资源列表
'resLink' => array(
	'JavaScript' => array(
		'Jquery' => 'http://cdn.bootcss.com/jquery/3.1.1/jquery.min.js'
	),
	'StyleScript' => array(

	)
)
);
?>